package com.share.tool.mock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.common.common.Page;
import com.share.tool.mock.model.db.HttpVariable;
import com.share.tool.mock.model.dto.McParam;
import com.share.tool.mock.model.vo.HttpPageListReq;

import java.util.Map;

public interface HttpVariableService extends IService<HttpVariable> {
    Object httpMock(HttpVariable httpMorkConfig, McParam mcParam);

    HttpVariable getByCode(String code);

    Object init();

    Page pageList(HttpPageListReq req);

    Map<String, Object> calcValues(String kvVars, McParam mcParam);
}
